package com.ruoyi.system.service.ingredientsService;

import com.ruoyi.system.domain.ingredients.PartIngredientsDetail;

import java.util.List;

/**
 * 辅料出入库明细Service接口
 * 
 * @author ljx
 * @date 2020-07-01
 */
public interface IPartIngredientsDetailService 
{
    /**
     * 查询辅料出入库明细
     * 
     * @param id 辅料出入库明细ID
     * @return 辅料出入库明细
     */
    public PartIngredientsDetail selectPartIngredientsDetailById(Long id);

    /**
     * 查询辅料出入库明细列表
     * 
     * @param partIngredientsDetail 辅料出入库明细
     * @return 辅料出入库明细集合
     */
    public List<PartIngredientsDetail> selectPartIngredientsDetailList(PartIngredientsDetail partIngredientsDetail);

    /**
     * 新增辅料出入库明细
     * 
     * @param partIngredientsDetail 辅料出入库明细
     * @return 结果
     */
    public int insertPartIngredientsDetail(PartIngredientsDetail partIngredientsDetail);

    /**
     * 修改辅料出入库明细
     * 
     * @param partIngredientsDetail 辅料出入库明细
     * @return 结果
     */
    public int updatePartIngredientsDetail(PartIngredientsDetail partIngredientsDetail);

    /**
     * 批量删除辅料出入库明细
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deletePartIngredientsDetailByIds(String ids);

    /**
     * 删除辅料出入库明细信息
     * 
     * @param id 辅料出入库明细ID
     * @return 结果
     */
    public int deletePartIngredientsDetailById(Long id);
}
